﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Bainx.Extend
{
    /// <summary>
    /// 异常事件参数
    /// </summary>
    public class ExceptionEventArgs : EventArgs
    {
        private Exception exceptionArgs;
        /// <summary>
        /// 
        /// </summary>
        public Exception ExceptionArgs { get { return exceptionArgs; } }
        /// <summary>
        /// 
        /// </summary>
        /// <param name="exception"></param>
        public ExceptionEventArgs(Exception exception)
        {
            exceptionArgs = exception;
        }
    }
    /// <summary>
    /// 异常事件句柄
    /// </summary>
    /// <param name="args">异常事件参数</param>
    public delegate void ExceptionEventHandler(ExceptionEventArgs args);
}
